﻿<include file="App/Home/Iphone/Public/header.html" />
	<div class="strip"></div>
	<div class="d-main">
	
		<h2>实名认证</h2>
		<form id="form" method="post" action="/user/login" onsubmit="return valiForm();">
			<p style=" font-size: 0.30rem;margin-bottom: 0.3rem;">
				<label >用户名：</label>chaiiamei
			</p>
			<p>
				<input type="text"  name="" id="" value="" placeholder="请输入真实姓名">
				<span class="note" id="" style="color:red;margin-top: 10px;display: inline-block;"></span>
			</p>
			<p>
				<input type="text" name="isPhoneNo" id="isPhoneNo" placeholder="请输入手机号"  >
				<span class="note"  style="color:red;margin-top: 10px;display: inline-block;"></span>
			</p>
			<p>
				<input type="text" name="isCardNo" id="isCardNo" placeholder="请输入身份证号"  >
				<span class="note"  style="color:red;margin-top: 10px;display: inline-block;"></span>
			</p>

			<p style="margin-top:10px;margin-bottom:10px;font-size:13px;color:red;display:none" id="birthmsg" class="note"></p>
			</p>

			<p>
				<input type="submit" value="确定" style="background:#f60;color:white;font-size: 0.3rem;width: 6.88rem;border: none;padding:0;margin-top: 0.2rem;" class="denglu dengluu">

			</p>
		</form>
		<p>

		<div style="clear: both;"></div>
		</p>
	</div>

	<footer class="footer" style="margin-top:4.83rem;">
		<p style="text-align: center;">
	<span>
            <a href="javascript:void(0);" class="a1" id="phone">手机版</a>
            <i>|</i>
            <a href="javascript:void(0);" class="a2" id="window">电脑版</a>
            <i>|</i>

        </span>

		</p>
		<div>
			Copyright2013-2016 元宝网
		</div>
	</footer>

</div>
<script type="text/javascript" src="../js/zepto.js"></script>
<script src="../js/public.js"></script>
</body>
</html>
<script src="../js/form.js"></script>
<script>
    //域名跳转
    $('#phone').click(function(){
        location.reload();
    })

</script>
<script type="text/javascript">

    $('#isCardNo').blur(function () {
//        var txtIdentityNum=$('#isCardNo').val();
        if ( !/^(\d{15}|\d{17}[\dXx])$/.test($('#isCardNo').val())) {
            $(this).siblings('.note').html('身份证号格式不正确！');
//            alert('身份证号格式不正确！');
            return false;
        }

    })
//    var txtPhoneNum=$('#isPhoneNo').val();
    $('#isPhoneNo').blur(function () {
        if ( ! /^0?1[358]\d{9}$/.test($('#isPhoneNo').val())) {
            $(this).siblings('.note').html('手机号格式不正确！');
//            alert('身份证号格式不正确！');
            return false;
        }

    })

</script>
